package com.beilang.hotline.telephone.manager.impl;

import com.beilang.hotline.telephone.manager.TelephoneMgr;
import com.beilang.hotline.telephone.dao.TelephoneDAO;
import com.beilang.hotline.telrecord.dao.TelrecordDAO;

import java.util.ArrayList;
import java.util.List;
import java.util.Date;

public class TelephoneMgrImpl implements TelephoneMgr {
    private TelephoneDAO telephoneDAO;
    public List searchTelephoneList(Date dateFrom, Date dateTo)
    {
          return telephoneDAO.searchTelephoneList(dateFrom,dateTo);
    }

    public void setTelephoneDAO(TelephoneDAO telephoneDAO) {
        this.telephoneDAO = telephoneDAO;
    }
}
